package com.zlp.spring.mybatis.spring;

import org.springframework.context.annotation.Import;
import java.lang.annotation.*;

/**
 * MyMapperScan
 * 自定义Mapper扫包
 * @date: 2022/2/22 17:12
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(MyMapperScannerRegistrar.class)
public @interface MyMapperScan {

  /**
   * {@code @MapperScan("org.my.pkg")} instead of {@code @MapperScan(basePackages = "org.my.pkg"})}.
   *
   * @return base package names
   */
  String[] value() default {};



}
